package cn.xyz.mianshi.vo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

@Getter
@Setter
@Entity(value = "redPacketBuffer", noClassnameStored = true)
@Data
public class RedPacketBuffer {
    private @Id ObjectId id; //记录id

    private  ObjectId redId;     //红包ID

    private  Double money;      //可领取金额
}
